<%@page contentType="text/xml" %>
<%

// Retardo
Thread.sleep(1000);

// Datos
int n1 = Integer.parseInt( request.getParameter("n1") );
int n2 = Integer.parseInt( request.getParameter("n2") );

// Proceso
int suma = n1 + n2;

// Reporte
//out.print( "<?xml version=\"1.0\"?>" );
out.print( "<rpta><suma>" );
out.print( suma );
out.print( "</suma></rpta>" );
%>